async function material() {
	return new Promise(async (resolve, reject) => {
		let res = await uni.$u.api.get_my_massage()
		if (res.code == 1) {
			uni.setStorageSync('userinfo',res.data.user_info)
			resolve(res.data)
		}
	})
}
async function conf() {
	return new Promise(async (resolve, reject) => {
		let res = await uni.$u.api.conf()
		if (res.code == 1) {
			uni.setStorageSync('conf',res.data)
			resolve(res.data)
		}
	})
}
export default {
	material,
	conf
}
